 <@h.head title="用户列表 | spinach"/> <@h.menu home="s" firMenu="系统管理"
secMenu="用户管理"/>
<div class="page-content">
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span12">
				<h3 class="page-title">
					用户管理 <small>用户列表</small>
				</h3>
				<ul class="breadcrumb">
					<li><i class="icon-home"></i> <a href="${path}/index">首页</a> <i
						class="icon-angle-right"></i></li>
					<li><a href="#">系统管理</a> <i class="icon-angle-right"></i></li>
					<li><a href="${path}/user/list">用户管理</a></li>
				</ul>
			</div>
		</div>
		<!-- BEGIN PAGE CONTENT-->
		<div class="row-fluid">
			<div class="span12">
				<!-- BEGIN EXAMPLE TABLE PORTLET-->
				<div class="portlet box blue">
					<@h.tools title="用户列表"/>
					<div class="portlet-body">
						<div class="clearfix">
							<div class="btn-group">
								<div class="span6">
									<@shiro.hasPermission name="sys:user:add"> <a
										id="sample_editable_1_new" class="btn green"
										href="${path}/user/info/0"> 新增用户<i class="icon-plus"></i>
									</a> </@shiro.hasPermission>
								</div>
								<div class="span6">
									<div class="dataTables_filter ">
										<form action="${path}/user/list" method="get" id="listForm">
											<input type="text" aria-controls="sample_1" placeholder="用户名/昵称"
												class="m-wrap medium" name="keyWords" value="${(RequestParameters['keyWords'])!''}"></label>
											<button type="submit" class="btn blue">查找</button>
										</form>
									</div>
								</div>
							</div>
						</div>
						<table class="table table-striped table-hover table-bordered"
							id="sample_editable_1">
							<thead>
								<tr>
									<th>用户名</th>
									<th>昵称</th>
									<th>电话</th>
									<th>邮箱</th>
									<th>最后登陆时间</th>
									<th>操作</th>
								</tr>
							</thead>
							<tbody>
								<#list list as u>
								<tr class="">
									<td>${(u.username)!""}</td>
									<td>${(u.nickName)!""}</td>
									<td>${(u.mobile)!""}</td>
									<td class="center">${(u.email)!""}</td>
									<td>${u.loginTime?string("yyyy-MM-dd HH:MM:ss")}</td>
									<td><a class="edit" href="${path}/user/info/${(u.id)!0}">修改</a></td>
								</tr>
								</#list>
							</tbody>
						</table>
						<@h.page />
					</div>
				</div>
			</div>
		</div>
		<!-- END PAGE CONTENT -->
	</div>
</div>
</div>
<@h.foot />
</body>
</html>